package com.mini.repository;

import com.mini.model.BusinessCompanyInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author zhangxiaobin
 * @title: BusinessCompanyInfoRepository
 * @description: TODO
 * @date 2020/2/411:05
 */
@Repository
public interface BusinessCompanyInfoRepository extends JpaRepository<BusinessCompanyInfo, Long>, JpaSpecificationExecutor<BusinessCompanyInfo> {

    List<BusinessCompanyInfo> findAllByState(Integer state);

}
